create Mouse Event
Creates and returns a new MouseEvent
object with the given eventType
and params
.
Return
a new MouseEvent
object
Parameters
event Type
an EventType object representing a type of a valid DOM event supported by engine
params
an MouseEventParams object representing mouse event properties
Throws
if the event creation failed due to the invalid event params
when the document is closed